package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * 文件路径信息对象 path_file
 * 
 * @author ruoyi
 * @date 2024-04-22
 */
public class PathFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long fileId;

    /** 名称 */
    @Excel(name = "名称")
    private String fileName;
    /** 文件路径模块 */
    @Excel(name = "文件路径模块")
    private String fileType;

    /** 文件路径ID标识 */
    @Excel(name = "文件路径ID标识")
    private String filepathId;


    /** 地址 */
    @Excel(name = "地址")
    private String path;

    /** 是否为外链（0是 1否） */
    @Excel(name = "是否为外链", readConverterExp = "0=是,1=否")
    private Integer isFrame;
    /** 自定义 */
    @Excel(name = "自定义")
    private String myZingy;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getFileType()
    {
        return fileType;
    }
    public void setFilepathId(String filepathId)
    {
        this.filepathId = filepathId;
    }

    public String getFilepathId()
    {
        return filepathId;
    }
    public String getMyZingy()
    {
        return myZingy;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setIsFrame(Integer isFrame) 
    {
        this.isFrame = isFrame;
    }

    public Integer getIsFrame() 
    {
        return isFrame;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("fileName", getFileName())
            .append("fileType", getFileType())
            .append("filepathId", getFilepathId())
            .append("path", getPath())
            .append("isFrame", getIsFrame())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("myZingy", getMyZingy())
            .toString();
    }
}
